#include<stdio.h>
#include<vector>
using namespace std;
void TestVectorExpand()
{
	size_t sz;
	vector<int> v;
	sz = v.capacity();
	printf( "making v grow:\n");
	for (int i = 0; i < 100; ++i)
	{
		v.push_back(i);
		if (sz != v.capacity())
		{
			sz = v.capacity();
		   printf("capacity changed:%zd\n ",sz);
		}
	}
}
int main()
{
  TestVectorExpand();
  return 0;
}
